
import 'package:flutter_getx/routers.dart';
import 'package:flutter_getx/ui/main/pages/two/two_view.dart';
import 'package:flutter_getx/ui/splash_page.dart';
import 'package:get/get.dart';
import 'package:get/get_navigation/src/routes/get_route.dart';

import 'pages/home/home_view.dart';

const homePage = "/HomePage";
const twoPage = "/TwoPage";

var mainRoutes = [
  GetPage(
    name: '/',
    page: () => const SplashPage(),
    transition: Transition.noTransition,
  ),
  GetPage(
    name: homePage,
    page: () => HomePage(),
    transition: Transition.fadeIn,
  ),
  GetPage(
    name: twoPage,
    page: () => TwoPage(),
    transition: transition,
  ),
];
